#pragma once

#include "INode.h"
#include "Pointer.h"

class SwitchNode : public INode
{
public:
	HashedString Type() const;

	void Enable();
	void Disable();
	void Push_Back( Pointer<INode>& node );
	void Pop_Back( INode* node );

	void Switch();
private:
	bool m_switch;
	INode::Vector_t m_group1;
	INode::Vector_t m_group2;
};
